package com.fuang.io.nio;

/**
 * Created by Fuang on 2018-9-19.
 */
public class TimeServer {

    public static void main(String[] args) {
        int port = 8080;
        new Thread(new NioTimeServerHandler(port)).start(); // 新建一个线程处理Socket：read -> handle -> write
    }
}
